using System;

namespace BTKERP.Model
{
    #region GRNMaster
    /// <summary>
    /// This object represents the properties and methods of a GRNMaster.
    /// </summary>
    [Serializable]
    public class GRNMaster
    {
        protected Guid _id;
        protected int _sequence;
        protected string _gRNCode = String.Empty;
        protected DateTime _gRNDate;
        protected string _remark = String.Empty;
        protected Guid _supplierId = Guid.Empty;
        protected Guid _receivedWarehouseId = Guid.Empty;
        protected int _status;
        protected DateTime _createdOn;
        protected string _createdBy = String.Empty;
        protected DateTime _updatedOn;
        protected string _updatedBy = String.Empty;

        public GRNMaster()
        {
        }

        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int Sequence
        {
            get { return _sequence; }
            set { _sequence = value; }
        }

        public string GRNCode
        {
            get { return _gRNCode; }
            set { _gRNCode = value; }
        }

        public DateTime GRNDate
        {
            get { return _gRNDate; }
            set { _gRNDate = value; }
        }

        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        public Guid SupplierId
        {
            get { return _supplierId; }
            set { _supplierId = value; }
        }

        public Guid ReceivedWarehouseId
        {
            get { return _receivedWarehouseId; }
            set { _receivedWarehouseId = value; }
        }

        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        public string CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        public string UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }
        #endregion

    }
    #endregion
}
